import Layout from '@/layout/index.vue'

const BASE_URL = '/coupon'

export default [{
    path: BASE_URL,
    component: Layout,
    name: 'coupon',
    redirect: `${BASE_URL}/list`,
    meta: {
        title: '优惠券',
        isGroup: true,
        icon: 'i-carbon-location-heart'
    },
    children: [{
        path: `${BASE_URL}/list`,
        name: 'coupon-list',
        component: () =>
            import ('@/pages/coupon/index.vue'),
        meta: {
            title: '优惠券',
            icon: 'i-carbon-data-check'
        }
    }]
}]